-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3477 tweak colors for contrast #3921
3477 tweak colors for contrast #3921
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes more than the two colours that are in the PR description. Is that intended?
I don't think the colour of the FAB has to change, based on https://webaim.org/resources/contrastchecker/. If I put in |
I guess that is what this PR is also partly about: Be consistent in color usage. So if the FAB and text highlights are presented in Same goes for the green: If there is one, use it. (And change it here to improve the contrast.) |
Add a part for red and green to the description. |
effacfc
to
6d43679
Compare
d14fce5
to
aabf59b
Compare
I think this is more complex than it needs to be for what it is trying to accomplish. The original issue (#3477) is just about the link colour. This PR changes more than that, and the description is incorrect w.r.t what it currently changes. With this PR: Light mode
Dark mode
The suggested new link colours from #3477 (comment) are:
That can be achieved by:
|
I guess it's not quite as complicated as listed:
That is sensible and not too big a change for a PR. |
OK, please split this in two: 1 PR -- just the accessibility changes for changing the link colours. Those are non contentious, solve a problem that users have identified and filled an issue for, and are straightforward to approve. I think the Discussion -- if you want to propose additional colour changes, or how the colours / styles / themes are currently organised (and I do see options for how they can be reorganised / updated) please do that in either a new issue or a discussion in the Matrix channels. Thanks. |
aabf59b
to
c4573ca
Compare
The tusky_blue is still used in some places with the light theme, e.g. The "Lock account" checkbox when editing a profile, in the elephant friend drawables, and in the spinners of SwipeToRefreshLayouts. |
As far as I remember from a year ago I (only) wanted to fix the problem at hand: low contrast for text and or links. But I guess we could do the mentioned problems in some subsequent merges. For the others I might need to research a bit more. I wonder however if I should include the red character warning number here - as it is really eye-watering with the dark theme... |
Ok I'm gonna merge this for now. Please send more PRs, and yes that red text is very important. |
Follow up to #3921 - no more hardcoded `tusky_blue`, instead the `colorPrimary` attribute is used. This will help us when adding more themes, e.g a dynamic color one. - The `colorPrimary` of the dark theme is now lighter for more contrast and subsequently the `colorOnPrimary` is now dark grey instead of white. - `tusky_red_lighter` is now a bit more red than before - Tweaked color usage in a few places for better contrast I think this looks a bit unfamiliar but overall better and the higher contrast makes things noticeably easier to read. <img src="https://github.com/tuskyapp/Tusky/assets/10157047/4cbb92d8-b772-4e94-bc15-c4baf0e5473f" width="260"/>
Fixes: #3477
This tweaks two colors:
colorPrimary
andcolorSecondary
)Additional change: